﻿<cfcomponent>
	<cffunction name="testMarkup" returnformat="plain" returntype="String">
		<cfset var result = "">

		<cfsavecontent variable="result">
			<form>
				<label for="testCheck">
					<input id="testCheck" name="checker" type="checkbox">
					&nbsp;
					Test
				</label>
			<form>
		</cfsavecontent>

		<cfreturn result>
	</cffunction>
<!---  --->
	<cffunction name="testData" returnformat="JSON" returntype="Struct">
		<cfset var I = 0>
		<cfset var result = structNew()>

		<cfset result.arr = arrayNew(1)>
		<cfset result.structre = structNew()>

		<cfloop from="1" to="3" index="I">
			<cfset arrayAppend(result.arr, I)>
		</cfloop>

		<cfreturn result>
	</cffunction>
</cfcomponent>